<html>
	<head>
		<script src="../../../flashjs.js" type="text/javascript" 
			language="javascript" charset="utf-8"></script>
	</head>
	<body>
		<script>
			var boot = new flashjs();
			var onGetComplete = function(data) {
				alert(data);
			}
			var onError = function(text) {
				alert(text);
			}
			boot.onComplete = function() {
				Class.require('utils.flashapibridge.urlloader.js.UrlLoaderContext').onloadComplete = function() {
					UrlLoaderContext = new utils.flashapibridge.urlloader.js.UrlLoaderContext();
					UrlLoaderContext.init(function() {
							UrlLoaderContext.loadData('GET', 'http://flashjs.dev/test/flashapibridge/urlloader/index.php', 
								{msg: "test"}, onGetComplete, onError);
						});
				}
			}
			boot.init();
		</script>
	</body>
</html>
